﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace GameDevClicker.Data {
    public class ProgrammerData {
        [XmlElement("Name")]
        public string Name;
        [XmlElement("Description")]
        public string Description;
        [XmlElement("Effect")]
        public int Effect;
        [XmlElement("Cost")]
        public int Cost;
    }

    [XmlRoot("Programmers")]
    public class ProgrammerDataHolder {
        [XmlElement("Programmer")]
        public List<ProgrammerData> Data { get; set; }
    }

    public class ArtistData {
        [XmlElement("Name")]
        public string Name;
        [XmlElement("Description")]
        public string Description;
        [XmlElement("Effect")]
        public int Effect;
        [XmlElement("Cost")]
        public int Cost;
    }

    [XmlRoot("Artists")]
    public class ArtistDataHolder {
        [XmlElement("Artist")]
        public List<ArtistData> Data { get; set; }
    }

    public class GameLevelData {
        [XmlElement("Name")]
        public string Name;
        [XmlElement("Description")]
        public string Description;
        [XmlElement("Income")]
        public int Income;
        [XmlElement("CostCode")]
        public int CostCode;
        [XmlElement("CostArt")]
        public int CostArt;
    }

    [XmlRoot("Games")]
    public class GameLevelDataHolder {
        [XmlElement("Game")]
        public List<GameLevelData> Data { get; set; }
    }

    public class OfficeTypeData {
        [XmlElement("Name")]
        public string Name;
        [XmlElement("Description")]
        public string Description;
        [XmlElement("Capacity")]
        public int Capacity;
        [XmlElement("Cost")]
        public int Cost;
    }

    [XmlRoot("Offices")]
    public class OfficeDataHolder {
        [XmlElement("Offices")]
        public List<OfficeTypeData> Data { get; set; }
    }
}